package cn.faster.project.service.impl;

import cn.faster.project.mapper.TeacherCardMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.springframework.stereotype.Service;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;

import cn.faster.project.entity.TeacherCard;
import cn.faster.project.service.TeacherCardService;

/**
 *
 * @author ViolentKangaroo
 * @email 1343643063@qq.com
 * @description 老师打卡记录接口
 * @date 2021-09-01 16:19:43
 */
@Service("teacherCardService")
public class TeacherCardServiceImpl extends ServiceImpl<TeacherCardMapper, TeacherCard> implements TeacherCardService {

    @Override
    public IPage<TeacherCard> findByPage(Page<TeacherCard> page) {
        return baseMapper.selectPage(page,null);
    }

}